import request from '@/api/request.js'

const url = '/menu'
const getTreeUrl = url+'/getTree'
const getGroupTreeUrl = url+'/getGroupTree'


export default {
  url,
  getTreeUrl,
  getTree(params){
    return request.httpGet(getTreeUrl,params)
  },
  getGroupTree(params){
    return request.httpGet(getGroupTreeUrl,params)
  },
}
